<template>
  <view class="Content">
    <TopBar title="用户协议"/>

    <u-parse :content="content" class="dec"></u-parse>

  </view>
</template>
<script>
import TopBar from "../../../components/TopBar.vue";
import {mapActions} from 'vuex'

export default {
  components: {TopBar},
  data() {
    return {
      content: ""
    }
  },
  methods: {
    ...mapActions('appInfo', ['getAppConfigMethod', 'getAppInfoMethod']),

  },
  async onLoad() {
    const data = await this.getAppConfigMethod()
    this.content = data.agreement
  }
}
</script>


<style scoped lang="scss">
.Content{
  padding: 100rpx 26rpx 0;
}

.dec{
  padding: 10rpx;
  color: #333333;
  line-height: 50rpx;
  height: 87vh;
  overflow: scroll;
}
</style>
